<div role="list" id="pass1">
  <div role="listitem" id="ignore1">Item 1</div>
</div>
<div role="list" id="pass2" aria-owns="ignore2"></div>
<div role="listitem" id="ignore2"></div>
<div role="list" id="fail1">
  <div role="menuitem" id="ignore3"></div>
</div>
<div role="list" id="fail2" aria-owns="ingore4"></div>
<div role="row" id="fail3"></div>
<div role="menuitem" id="ingore4"></div>
<div role="list" id="pass3" aria-owns="parent"></div>
<div id="parent">
  <div role="listitem" id="ignore5"></div>
</div>
<div role="grid" id="incomplete1"></div>
<div role="list" id="incomplete2"></div>
<div role="listbox" id="incomplete3"></div>
<div role="table" id="incomplete4"></div>
<div role="tablist" id="incomplete5"></div>
<div role="tree" id="incomplete6"></div>
<div role="treegrid" id="incomplete7"></div>
<div role="rowgroup" id="incomplete8"></div>
<div role="listbox" id="incomplete9">
  <div></div>
</div>
<div role="menu" id="incomplete10">
  <!-- -->
  <span role="menuitem" hidden></span>
  <span role="none">
    <span role="menuitem" aria-hidden="true">hidden</span>
  </span>
</div>
<div role="menubar" id="incomplete11"></div>
<div role="list" id="fail4">
  <div role="tabpanel" id="ignore6">
    <div role="listitem" id="ignore7">List item 1</div>
  </div>
</div>
<div role="grid" id="pass4">
  <div role="row" id="fail5">
    <span>Item 1</span>
  </div>
</div>
<div role="grid" id="pass5">
  <div role="presentation" id="ignore8">
    <div role="row" id="pass6">
      <div role="none" id="ingore9">
        <span role="cell" id="ignore10">Item 1</span>
      </div>
    </div>
  </div>
</div>

<div role="menu" id="pass7">
  <ul role="group" id="ignore11">
    <li role="menuitem" id="ignore12">>Inbox</li>
    <li role="separator" id="ignored13"></li>
    <li role="menuitem" id="ignore14">>Archive</li>
    <li role="menuitem" id="ignore15">>Trash</li>
  </ul>
</div>

<div role="suggestion" id="pass8">
  <span role="deletion">option</span>
  <span role="insertion">option</span>
</div>

<div role="suggestion" id="fail6"></div>

<div role="listbox" id="pass9">
  <div role="group">
    <div role="option">option</div>
  </div>
</div>

<div role="list" id="pass10" aria-busy="true"></div>
<div role="suggestion" id="pass11" aria-busy="true"></div>
<div role="menu" id="pass12" aria-busy="true"></div>
<div role="listbox" id="pass13" aria-busy="true"></div>

<div role="list" id="pass14">
  <script></script>
  <style></style>
  <canvas hidden></canvas>
  <div><div role="listitem">Item 1</div></div>
  <div role="generic"><div role="listitem">item 2</div></div>
  <div role="presentation"><div role="listitem">item 2</div></div>
  <div role="none"><div role="listitem">item 2</div></div>
</div>

<div role="suggestion" id="fail7">
  <div aria-busy="true"></div>
</div>
<div role="suggestion" id="fail8" aria-busy="false"></div>
<div role="list" id="fail9">
  <li>Item 1</li>
  <span role="link">Item 2</span>
</div>
<div role="list" id="fail10">
  <div aria-live="polite">
    <div role="listitem">List item 1</div>
    <div role="listitem">List item 2</div>
  </div>
</div>
<div role="list" id="fail11">
  <div tabindex="0">
    <div role="listitem">List item 1</div>
    <div role="listitem">List item 2</div>
  </div>
</div>

<div role="list" id="fail12">
  <div aria-busy="true"></div>
</div>

<div role="list" id="fail13" aria-busy="true">
  <div role="alert">unallowed role</div>
</div>

<div role="doc-bibliography" id="inapplicable1"></div>
<div role="doc-endnotes" id="inapplicable2"></div>
<div role="radiogroup" id="inapplicable3">
  <div role="heading" aria-level="2">Heading</div>
  <ul>
    <li><div role="radio"></div></li>
    <li><div role="radio"></div></li>
  </ul>
</div>

<ul role="menu" id="pass15">
  <li role="none">
    <a href="#" role="menuitem">Foo</a>
    <ul role="menu" id="pass16">
      <li role="none">
        <a href="#" role="menuitem">Bar</a>
      </li>
    </ul>
  </li>
</ul>

<nav role="menubar" id="pass17">
  <a role="menuitem" href="">Item 1</a>
  <a role="menuitem" href="">Item 2</a>
  <span role="separator"></span>
  <a role="menuitem" href="">Item 3</a>
</nav>

<div role="menu" id="pass18">
  <div role="menuitem">menu item</div>
  <div aria-hidden="true">shouldn't be flagged but is</div>
</div>

<div role="list" id="pass19">
  <div role="presentation">
    <div style="display: none">ignore</div>
    <div style="visibility: hidden" aria-hidden="true">ignore</div>
    <li>item 1</li>
    <li>item 2</li>
  </div>
</div>
